package com.ddxz.csms.mapper.base;

import com.ddxz.csms.entity.DeviceEntity;
import com.ddxz.csms.entity.RouteEntity;
import com.ddxz.csms.entity.RuleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2021/11/20
 */

@Mapper
@Repository
public interface BaseInfoMapper {
    /**
     * 获取所有的设备信息
     * @return 设备清单
     */
    List<DeviceEntity> getAllDevice();

    /**
     * 获取所有的路由器信息
     * @return 路由器清单
     */
    List<RouteEntity> getAllRoute();

    /**
     * 获取所有的规则信息
     * @return 规则清单
     */
    List<RuleEntity> getAllRule();
}
